/*
 * ChildFrame.h
 *
 *  Created on: 2012-8-28
 *      Author: yangentao@gmail.com
 */

#ifndef CHILDFRAME_H_
#define CHILDFRAME_H_
#include "window.h"
namespace ui {

class ChildFrame: public WindowX {
	typedef WindowX Super;
private:
	static WindowClass childFrameClass;
	static const LPCTSTR ChildFrameClassName;
public:
	ChildFrame();
	virtual ~ChildFrame();
public:
	bool create(HWND parent, LPCTSTR title, Rect rect);
	bool create(HWND parent, LPCTSTR title, int x, int y, int width, int height);
};

} /* namespace ui */
#endif /* CHILDFRAME_H_ */
